go/types._TypeSet.terms (field)

31 uses

	go/types (current package)
		instantiate.go#L369: 				detail = check.sprintf("%s missing in %s", V, Ti.typeSet().terms)
		predicates.go#L392: 			return xset.terms.equal(yset.terms)
		predicates.go#L409: 			if !xset.terms.equal(yset.terms) {
		typeset.go#L31: 	terms      termlist // type terms of the type set
		typeset.go#L36: func (s *_TypeSet) IsEmpty() bool { return s.terms.isEmpty() }
		typeset.go#L42: func (s *_TypeSet) IsMethodSet() bool { return !s.comparable && s.terms.isAll() }
		typeset.go#L46: 	if s.terms.isAll() {
		typeset.go#L95: 		buf.WriteString(s.terms.String())
		typeset.go#L105: func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() }
		typeset.go#L108: func (s1 *_TypeSet) subsetOf(s2 *_TypeSet) bool { return s1.terms.subsetOf(s2.terms) }
		typeset.go#L119: 	for _, t := range s.terms {
		typeset.go#L142: 	for _, t := range s.terms {
		typeset.go#L152: var topTypeSet = _TypeSet{terms: allTermlist}
		typeset.go#L195: 	ityp.tset = &_TypeSet{terms: allTermlist} // TODO(gri) is this sufficient?
		typeset.go#L283: 			terms = tset.terms
		typeset.go#L294: 			terms = tset.terms
		typeset.go#L316: 	ityp.tset.terms = allTerms
		typeset.go#L390: 			terms = computeInterfaceTypeSet(check, pos, ui).terms
		typeset.go#L412: 	unionSets[utyp].terms = allTerms
		typestring.go#L373: 	case s.terms.isAll():
		typestring.go#L375: 	case s.terms.isEmpty():
		typestring.go#L376: 		w.string(s.terms.String())
		typestring.go#L379: 		for _, term := range s.terms {
		unify.go#L474: 			if !xset.terms.equal(yset.terms) {
		unify.go#L672: 			if !xset.terms.equal(yset.terms) {